package com.jy.modules.cims.data.common.dao;


import java.util.List;
import java.util.Map;

import com.jy.modules.cims.data.common.dto.TCMmBailBondDTO;
import com.jy.platform.core.mybatis.MyBatisRepository;
/**
 * @classname: TCMmBailBondDao
 * @description: 定义  担保金 持久层 接口
 * 通过@MapperScannerConfigurer扫描目录中的所有接口, 动态在Spring Context中生成实现.
 * 方法名称必须与Mapper.xml中保持一致.
 * @author:  dell
 */
@MyBatisRepository
public interface TCMmBailBondDao {
    
    /**
     * @author dell
     * @description: 分页查询担保金
     * @date 2015-02-05 15:32:52
     * @param searchParams
     * @return
     */
    public List<TCMmBailBondDTO> searchTCMmBailBondByPaging(Map<String, Object> searchParams) ;
    
    /**
     * @author dell
     * @description:查询对象担保金
     * @date 2015-02-05 15:32:52
     * @param searchParams
     * @return
     */
    public List<TCMmBailBondDTO> searchTCMmBailBond(Map<String,Object> searchParams);

    /**
     * @author dell
     * @description:查询对象担保金
     * @date 2015-02-05 15:32:52
     * @param id
     * @return
     */
    public TCMmBailBondDTO findTCMmBailBondByPrimaryKey(String id);
    

    /**
     * @author dell
     * @description: 新增对象担保金
     * @date 2015-02-05 15:32:52
     * @param paramMap
     * @return
     */
    public int insertTCMmBailBond(Map<String, Object> paramMap);
    
    /**
     * @author dell
     * @description: 更新对象担保金
     * @date 2015-02-05 15:32:52
     * @param paramMap
     */
    public void updateTCMmBailBond(Map<String, Object> paramMap);
     
    /**
     * @author dell
     * @description: 按主键删除担保金
     * @date 2015-02-05 15:32:52
     * @param ids
     * @return
     */ 
    public void deleteTCMmBailBondByPrimaryKey(Map<String, Object> paramMap);
    

}
